
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="joda" uri="http://www.joda.org/joda/time/tags" %>

<!DOCTYPE html>
<html>
  <head>
    <title>Simple Raid</title>
    
    <link rel="stylesheet" type="text/css" href="/css/simpleraid.css" />
    <link rel="stylesheet" type="text/css" href="/css/ui-lightness/jquery-ui-1.8.16.custom.css" />

    <script type="text/javascript" src="/js/jquery-1.6.4.min.js"></script>
    <script type="text/javascript" src="/js/jquery-ui-1.8.16.custom.min.js"></script>

    <script type="text/javascript">
      $(function() {
      });
    
      function gotoLink(url) {
    	  window.location = url;
      }
      
    </script>
    
    <style type="text/css">
    </style>

  </head>
  <body>
  
    <jsp:include page="include/header.jsp" />
    
    <div class="main-content">
      <div class="row">
        Title: ${raid.raidTitle}
      </div>
    
      <div class="row">
        Date: <joda:format value="${raid.raidDate}" pattern="yyyy-MM-dd" />
      </div>
      
      <div class="row">
        Signups: <br/>
        
        <c:forEach items="${raid.signups}" var="signup">
          <div class="row">
            Character: ${signup.signedBy.characterName}
          </div>
          
          <div class="row">
            Class: ${signup.signedBy.characterClass}
          </div>
        
          <div class="row">
            Role: ${signup.role}
          </div>
          
          <div class="row">
            Status: ${signup.status}
          </div>
          
          <div class="row">
            Comment: ${signup.comment}
          </div>
        </c:forEach>
      </div>
    </div>
    
    <jsp:include page="include/footer.jsp" />
  
  </body>
</html>
